package com.maopuyu.repositories;

import com.maopuyu.entity.NavItem;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface WeixinNavRepository extends CrudRepository<NavItem, Integer> {
    List<NavItem> findAllByCategoryId(Integer id);
}
